package com.bdk.middle.goods.api.client;

import com.bdk.middle.common.result.ResultDO;
import com.bdk.middle.goods.api.query.GoodsViewsRecordQueryDO;
import org.springframework.web.bind.annotation.*;

public interface GoodsViewsRecordClientApi {

    /**
     * 删除商品属性
     * @param id 商品属性ID
     * @param modifier 修改人商品属性名
     * @return ResultDO
     */
    @RequestMapping(value="/goods_views_record_cliet_api/remove.html", method = RequestMethod.POST)
    public @ResponseBody ResultDO remove(@RequestParam("id") String id, @RequestParam("modifier") String modifier);

    /**
     * 查找商品属性列表分页
     * @param domain 查询DO
     * @return ResultDO
     */
    @RequestMapping(value="/goods_views_record_cliet_api/find.html", method = RequestMethod.POST)
    public @ResponseBody ResultDO find(@RequestBody GoodsViewsRecordQueryDO domain);
}
